{% extends 'ZaysoAreaBundle:Layout:layout.html.twig' %}

{% block title %}Area - Admin{% endblock %}

{% block content %}
<div>
  <h3>Admin Links</h3>
  <p><a href="{{ path('zayso_area_admin_account_list') }}">List of Accounts and Referees</a></p>
  <p><a href="{{ path('zayso_area_admin_account_list', { '_format': 'csv' })  }}">List of Accounts and Referees(Excel)</a></p>
  <p></p>
  <p><a href="{{ path('zayso_area_admin_team_list') }}">List of Teams</a></p>
  <p><a href="{{ path('zayso_area_admin_team_list', { '_format': 'csv' })  }}">List of Teams(Excel)</a></p>
  
{% if is_granted('ROLE_SUPER_ADMIN') %}  
  <p><a href="{{ path('zayso_area_admin_import') }}">Import Information</a></p>
{% endif %}
  
</div>
{% endblock %}
